package com.example.service;


import com.example.pojo.Dept;
import com.example.pojo.Disciple;
import com.example.pojo.PageBean;

import java.time.LocalDate;
import java.util.List;

/**
 * 员工管理
 */
public interface DiscipleService {
    PageBean page(String name, Short gender, LocalDate begin, LocalDate end,Integer page,Integer pageSize,Boolean ise);
    PageBean page2(String name, Short job, Short deptId,LocalDate begin, LocalDate end,Integer page,Integer pageSize,Boolean ise);
    List<Disciple> jobList();
    void save(Disciple disciple);

    void delete(List<Integer> ids);

    void update(Disciple disciple);

    Disciple getById(Integer id);


    Disciple login(Disciple disciple);
}
